<?php $this->_extends('_layouts/main_layout'); ?>
 
<?php $this->_block('contents'); ?>

<?php if(!empty($suc) && $suc=="suc"){?>
		<script type="text/javascript">
		$(window).load(function() {
			alert("保存成功！");
		});
		</script>
	<?php }?>
<?php 
	if($edit==2){
		$arr=array('form' => $form,);
	}else{
		$arr=array('form' => $form, 'backurl'=>url(''));
	}
$this->_element('formview_simple', $arr); ?>
<script type="text/javascript">
//$('#isprofile').val('1');
</script>
<?php $this->_endblock(); ?>
